// (c) Copyright Fernando Cerqueira.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.

using System;


// ReSharper disable CheckNamespace
namespace DevPhone.Controls
// ReSharper restore CheckNamespace
{
    public class CalendarChangeEventArgs : EventArgs
    {
        public int Month { get; set; }
        public int Year { get; set; }
        public int OldMonth { get; private set; }
        public int OldYear { get; private set; }
        public CalendarChangeEventArgs(DateTime oldDate, DateTime newDate)
        {
            OldMonth = oldDate.Month;
            OldYear = oldDate.Year;
            Month = newDate.Month;
            Year = newDate.Year;
        }
    }
}